﻿<ad:DocumentContent xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ad="clr-namespace:AvalonDock;assembly=AvalonDock"  
                    xmlns:vmd="clr-namespace:QinTools.ViewModel.Documents"
                    x:Class="QinTools.View.CharacterView">
    <StackPanel x:Name="uxLayoutRoot" HorizontalAlignment="Stretch">
        <GroupBox Header="Basic Info">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <GroupBox Header="Identity" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Center">
                    <Grid VerticalAlignment="Top">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition />
                            <ColumnDefinition />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                        </Grid.RowDefinitions>
                        <Label Grid.Column="0" Grid.Row="0">Name</Label>
                        <TextBox Grid.Column="1" Grid.Row="0" 
                                 Text="{Binding Path=Name, Mode=TwoWay}" Width="120" />
                        <Label Grid.Column="0" Grid.Row="1">Home State</Label>
                        <TextBox Grid.Column="1" Grid.Row="1" 
                                 Text="{Binding Path=HomeState, Mode=TwoWay}" Width="120" />
                        <Label Grid.Column="0" Grid.Row="2">Character Type</Label>
                        <TextBox Grid.Column="1" Grid.Row="2" 
                                 Text="{Binding Path=CharacterType, Mode=TwoWay}" Width="120" />
                        <Label Grid.Column="0" Grid.Row="4">Wealth</Label>
                        <TextBox Grid.Column="1" Grid.Row="4"  HorizontalAlignment="Left"
                                 Text="{Binding Path=Wealth, Mode=TwoWay}" Width="60" />
                    </Grid>
                </GroupBox>
                <GroupBox Header="Physical Attributes" Grid.Column="1" Grid.Row="0" HorizontalAlignment="Center">
                    <Grid VerticalAlignment="Top">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition />
                            <ColumnDefinition />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                        </Grid.RowDefinitions>
                        <Label Grid.Column="0" Grid.Row="0">Age</Label>
                        <TextBox Grid.Column="1" Grid.Row="0" 
                                 Text="{Binding Path=Age, Mode=TwoWay}" Width="40" />
                        <Label Grid.Column="0" Grid.Row="1">Gender</Label>
                        <TextBox Grid.Column="1" Grid.Row="1" 
                                 Text="{Binding Path=Gender, Mode=TwoWay}" Width="40" />
                        <Label Grid.Column="0" Grid.Row="2">Height</Label>
                        <TextBox Grid.Column="1" Grid.Row="2" 
                                 Text="{Binding Path=Height, Mode=TwoWay}" Width="40" />
                        <Label Grid.Column="0" Grid.Row="3">Weight</Label>
                        <TextBox Grid.Column="1" Grid.Row="3" 
                                 Text="{Binding Path=Weight, Mode=TwoWay}" Width="40" />
                    </Grid>
                </GroupBox>
                <GroupBox Header="Background" Grid.Column="2" Grid.Row="0" HorizontalAlignment="Center">
                    <Grid VerticalAlignment="Top">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition />
                            <ColumnDefinition />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                        </Grid.RowDefinitions>
                        <Label Grid.Column="0" Grid.Row="0">Gift</Label>
                        <TextBox Grid.Column="1" Grid.Row="0" 
                                 Text="{Binding Path=Gift, Mode=TwoWay}" Width="120" />
                        <Label Grid.Column="0" Grid.Row="1">Weakness</Label>
                        <TextBox Grid.Column="1" Grid.Row="1" 
                                 Text="{Binding Path=Weakness, Mode=TwoWay}" Width="120" />
                        <Label Grid.Column="0" Grid.Row="2">Renown</Label>
                        <TextBox Grid.Column="1" Grid.Row="2" HorizontalAlignment="Left" 
                                 Text="{Binding Path=Renown, Mode=TwoWay}" 
                                 Width="60">
                        </TextBox>
                        <Label Grid.Column="0" Grid.Row="3">Experience</Label>
                        <TextBox Grid.Column="1" Grid.Row="3"  HorizontalAlignment="Left"
                                 Text="{Binding Path=Experience, Mode=TwoWay}" Width="60" />

                    </Grid>
                </GroupBox>
            </Grid>
        </GroupBox>
        <GroupBox Header="Character Attributes">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition />
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <GroupBox Header="Aspects" Grid.Column="0" Grid.Row="0" HorizontalAlignment="Center">
                    <Grid VerticalAlignment="Top">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition />
                            <ColumnDefinition />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                        </Grid.RowDefinitions>
                        <Label Grid.Column="0" Grid.Row="0">Fire</Label>
                        <TextBox Grid.Column="1" Grid.Row="0" 
                                 Text="{Binding Path=FireAspect, Mode=TwoWay}" Width="40" />
                        <Label Grid.Column="0" Grid.Row="1">Water</Label>
                        <TextBox Grid.Column="1" Grid.Row="1" 
                                 Text="{Binding Path=WaterAspect, Mode=TwoWay}" Width="40" />
                        <Label Grid.Column="0" Grid.Row="2">Wood</Label>
                        <TextBox Grid.Column="1" Grid.Row="2" 
                                 Text="{Binding Path=WoodAspect, Mode=TwoWay}" Width="40" />
                        <Label Grid.Column="0" Grid.Row="3">Metal</Label>
                        <TextBox Grid.Column="1" Grid.Row="3" 
                                 Text="{Binding Path=MetalAspect, Mode=TwoWay}" Width="40" />
                        <Label Grid.Column="0" Grid.Row="4">Earth</Label>
                        <TextBox Grid.Column="1" Grid.Row="4" 
                                 Text="{Binding Path=EarthAspect, Mode=TwoWay}" Width="40" />
                    </Grid>
                </GroupBox>
                <GroupBox Header="Breath of Life" Grid.Column="1" Grid.Row="0" HorizontalAlignment="Center">
                    <Grid VerticalAlignment="Top">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition />
                            <ColumnDefinition />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                        </Grid.RowDefinitions>
                        <Label Grid.Column="0" Grid.Row="0">Normal</Label>
                        <TextBox Grid.Column="1" Grid.Row="0" 
                                 Text="{Binding Path=NormalHp, Mode=TwoWay}" Width="40" />
                        <Label Grid.Column="0" Grid.Row="1">Bruised</Label>
                        <TextBox Grid.Column="1" Grid.Row="1" 
                                 Text="{Binding Path=BruisedHp, Mode=TwoWay}" Width="40" />
                        <Label Grid.Column="0" Grid.Row="2">Lightly Injured</Label>
                        <TextBox Grid.Column="1" Grid.Row="2" 
                                 Text="{Binding Path=LightlyInjuredHp, Mode=TwoWay}" Width="40" />
                        <Label Grid.Column="0" Grid.Row="3">Seriously Injured</Label>
                        <TextBox Grid.Column="1" Grid.Row="3" 
                                 Text="{Binding Path=SeriouslyInjuredHp, Mode=TwoWay}" Width="40" />
                        <Label Grid.Column="0" Grid.Row="4">Fatally Injured</Label>
                        <TextBox Grid.Column="1" Grid.Row="4" 
                                 Text="{Binding Path=FatallyInjuredHp, Mode=TwoWay}" Width="40" />
                    </Grid>
                </GroupBox>
                <GroupBox Header="Combat Stats" Grid.Column="2" Grid.Row="0" HorizontalAlignment="Center">
                    <Grid VerticalAlignment="Top">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition />
                            <ColumnDefinition />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                        </Grid.RowDefinitions>
                        <Label Grid.Column="0" Grid.Row="0">Maximum Chi</Label>
                        <TextBox Grid.Column="1" Grid.Row="0" 
                                 Text="{Binding Path=MaximumChi, Mode=TwoWay}" Width="40" />
                        <Label Grid.Column="0" Grid.Row="1">Passive Defense</Label>
                        <TextBox Grid.Column="1" Grid.Row="1" 
                                 Text="{Binding Path=PassiveDefense, Mode=TwoWay}" Width="40" />
                        <Label Grid.Column="0" Grid.Row="2">Resistance</Label>
                        <TextBox Grid.Column="1" Grid.Row="2" 
                                 Text="{Binding Path=Resistance, Mode=TwoWay}" Width="40" />
                        <Label Grid.Column="0" Grid.Row="3">Armor</Label>
                        <TextBox Grid.Column="1" Grid.Row="3" 
                                 Text="{Binding Path=ArmorName, Mode=TwoWay}" Width="40" />
                        <Label Grid.Column="0" Grid.Row="4">Armor Protection</Label>
                        <TextBox Grid.Column="1" Grid.Row="4" 
                                 Text="{Binding Path=ArmorProtection, Mode=TwoWay}" Width="40" />
                    </Grid>
                </GroupBox>
            </Grid>
        </GroupBox>
    </StackPanel>
</ad:DocumentContent>
